#include <iostream>
#include <map>
using namespace std;
std::map<uint64_t, std::string> jobs_results_;
class MyClass
{
public:
    int value;

    // 带参数的构造函数
    MyClass(int c, int a = 2, int num = 0)
    {
        cout << "带参数的构造函数被调用" << a  <<  num << endl;
        value = num;
    }
    // 复制构造函数
    MyClass(const MyClass &obj)
    {
        cout << "复制构造函数被调用" << endl;
        value = obj.value;
    }
};

int main()
{
    std::string a1="xxxxxxx";
    uint64_t id= 1;
    jobs_results_.emplace(1, std::move(a1));
    auto i = jobs_results_.find(id);
      if (i == jobs_results_.end()) {
        cout << "**********" << endl;
      }
    std::string a3 = i->second;
    std::string a2 = std::move(i->second);
	cout<<a3<<endl;
	cout<<a2<<endl;
	cout<<a3<<endl;
	cout<<a1<<endl;

	return 0;
 }
